package org.tib.concurrent;

import java.math.BigInteger;
import java.util.Map;

/**
 * An implementation of the Result interface.
 * This implementation wraps a result of BigInteger.
 */
public class MathComputeResult implements Result<Map<String,Number>> {
    public static final String COMPUTATION = "comptutaionID";
    public static final String RESULT = "result";

    private Map<String,Number> result;
    public void setResult(Map<String,Number> result) {
        this.result = result;
    }

    public Map<String,Number> getResult() {
        return this.result;
    }
}
